import request from '@/utils/request2'
import qs from 'qs'

export function addFileIteTask(data, type) {
  return request({
    url: '/file/fileIterator',
    method: 'post',
    data: type ? qs.stringify(data) : data
  })
}

export function queryTask(data) {
  return request({
    url: '/file/queryTask',
    method: 'get',
    data: data
  })
}
